package org.hive.utils
{
	public dynamic class SquareGrid extends Array
	{

	  private var vw:uint
	  private var vh:uint
	
	  public function SquareGrid(vx:uint, vy:uint)
	  {
		    vw = vx;
		    vh = vy;    
		
		    for (var i:int=0; i< vx; i++)
		    {
		      this[i] = new Array(vy);
		    }
	  }
	
	  public function get width():uint
	  {
	    	return vw;
	  }
	  public function get height():uint
	  {
	    	return vh;
	  }		
		
	}
}